﻿using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using UCosmic.Www.Mvc.Models;

namespace UCosmic.Www.Mvc.Areas.Identity.Models.SignIn
{
    public class SignInAsForm : IReturnUrl
    {
        [Display(Name = "Username", Prompt = "Type a username to impersonate")]
        [Required(ErrorMessage = "Username is required.")]
        public string UserName { get; set; }

        [HiddenInput(DisplayValue = false)]
        public string ReturnUrl { get; set; }
    }
}